<include file="__THEME__/public_header" />
<!--main-->
<!--畅销榜单-->
<div class="worap position-rt">
    <!--左-->
    <include file="UserShow:left"/>

    <div class="user-con fl user-pbottom">
        <div class="user-con-title"> <a href="{:U('classroom/UserShow/wenda',array('uid'=>$_GET['uid']))}" >提问</a> <a  class="onactive">回答</a> </div>
        <!--问答内容-->
        <ul class="user-wenda">
            <php>if(!empty($wdlist['data'])){</php>
            <!--提问循环-->
            <foreach name="wdlist.data" item="li">
                <li class="li" <php>if($key == 0){</php>style="padding-top:0;"<php>}</php>>
                    <div class="discusslist"> <a  title="{:getUserName($li['uid'])}" class="otherHead" href="{:U('classroom/UserShow/index',array('uid'=>$li['uid']))}"><img width="40" height="40" src="{:getUserFace($li['uid'],'m')}"></a>
                        <div class="detailmeg">
                            <div class="report">
                                <div class="mynote"><a title="{:getUserName($li['uid'])}" href="{:U('classroom/UserShow/index',array('uid'=>$li['uid']))}">{:getUserName($li['uid'])}</a> <em> 提问</em></div>
                                <p class="mynote"><a target="_blank" href="{:U('wenda/Index/detail',array('id'=>$li['id']))}">{$li.wd_title}</a> </p>
                            </div>
                            <div class="firendreply"> <a  title="{:getUserName($li['commt']['uid'])}" class="firendHead" href="#"><img src="{:getUserFace($li['commt']['uid'],'s')}"></a>
                                <div class="lzreply"> <span><a title="{:getUserName($li['commt']['uid'])}" href="#">{:getUserName($li['commt']['uid'])}</a> 回答</span> <em>{:limitNumber($li['commt']['description'],20)}</em> </div>
                            </div>
                            <div class="fbtime">时间：<span>{:getDateDiffer($li['commt']['ctime'])}</span></div>
                        </div>
                    </div>
                </li>
            </foreach>
            <php>}else{</php>
            <span><php>echo $_GET['uid'] == $mid ? '你' : 'TA';</php>暂无回答</span>
            <php>}</php>
        </ul>
        <div class="sabrosus">
            {$wdlist.html}
        </div>
    </div>






    <!--右-->
    <div class="user-r fl">

        <!----> <include file="UserShow:right"/>
    </div>
</div>
<!--footer-->
<include file="__THEME__/public_footer" />
